#!/usr/bin/env bash
set -euo pipefail

# Simple wrapper to invoke templates/new_script.sh from Make (avoids quoting/subshell issues)
# Use portable dirname+cd+pwd to be macOS-friendly
TEMPLATE_GEN="$(cd "$(dirname "$0")/.." && pwd)/templates/new_script.sh"
exec bash "$TEMPLATE_GEN" "$@"
